package com.spring.service;

import com.spring.dao.CustomerPreferenceDao;
import com.spring.entity.MovieCatalog;
import org.springframework.beans.factory.annotation.Autowired;


public class MovieRecommender {

    private final CustomerPreferenceDao customerPreferenceDao;

    @Autowired
    private MovieCatalog movieCatalog;

    @Autowired
    public MovieRecommender(CustomerPreferenceDao customerPreferenceDao) {

        this.customerPreferenceDao = customerPreferenceDao;

    }

    public void getInf(){
        System.out.println(customerPreferenceDao.toString());
        System.out.println(movieCatalog.toString());
    }


}
